package com.mao.jxc.admin.service;

import com.mao.jxc.admin.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author mao
 * @since 2021-07-20
 */
public interface IUserService extends IService<User> {

    User login(String userName, String password);

    User findUserByUserName(String userName);

    void updateUserInfo(User user);

    void updatePassword(String oldPassword, String newPassword, String confirmPassword,String userName);
}
